package scsc.web.xzgl.building.graph.forms;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import scsc.web.system.AppActionForm;
import scsc.web.xzgl.building.hbuilding.data.HBuildingData;
import scsc.web.xzgl.building.nohbuilding.data.NohBuildingData;
import scsc.web.xzgl.building.businesshouse.data.BusiHouseData;

import java.util.*;

public class SelectParamsForm extends AppActionForm {

	private HBuildingData hdata;
	private HBuildingData chdata;
	private NohBuildingData nhdata;
	private NohBuildingData cnhdata;
	private BusiHouseData bhdata;
	private BusiHouseData cbhdata;
	private String selUnitType;

	public SelectParamsForm() {
		super();
		hdata=new HBuildingData();
		chdata=new HBuildingData();
		nhdata=new NohBuildingData();
		cnhdata=new NohBuildingData();
		bhdata=new BusiHouseData();
		cbhdata=new BusiHouseData();
		selUnitType="";
	}

	public void reset(ActionMapping mapping, HttpServletRequest request) {
		super.reset(mapping, request);
		hdata.reset();
		chdata.reset();
		nhdata.reset();
		cnhdata.reset();
		bhdata.reset();
		cbhdata.reset();
		selUnitType="";
	}

	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		ActionErrors errors = new ActionErrors();
		return errors;
	}

	public BusiHouseData getBhdata() {
		return bhdata;
	}

	public void setBhdata(BusiHouseData bhdata) {
		this.bhdata = bhdata;
	}

	public BusiHouseData getCbhdata() {
		return cbhdata;
	}

	public void setCbhdata(BusiHouseData cbhdata) {
		this.cbhdata = cbhdata;
	}

	public HBuildingData getChdata() {
		return chdata;
	}

	public void setChdata(HBuildingData chdata) {
		this.chdata = chdata;
	}

	public NohBuildingData getCnhdata() {
		return cnhdata;
	}

	public void setCnhdata(NohBuildingData cnhdata) {
		this.cnhdata = cnhdata;
	}

	public HBuildingData getHdata() {
		return hdata;
	}

	public void setHdata(HBuildingData hdata) {
		this.hdata = hdata;
	}

	public NohBuildingData getNhdata() {
		return nhdata;
	}

	public void setNhdata(NohBuildingData nhdata) {
		this.nhdata = nhdata;
	}

	public String getSelUnitType() {
		return selUnitType;
	}

	public void setSelUnitType(String selUnitType) {
		this.selUnitType = selUnitType;
	}

	

	
	
}
